package com.shop.model.dto;

import com.shop.entity.CommonUser;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class Authorization<T> implements Serializable {
    private static final long serialVersionUID = -6536441352632083924L;

    private CommonUser user;
    private T info;

    public Authorization(CommonUser user, T info) {
        this.user = user;
        this.info = info;
    }
}
